home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Misc / Crossword / Source / Puzzle.h < prev    next >
Text File  |  1992-10-11  |  843b  |  47 lines

  1. /*
  2.  
  3. File Puzzle.h
  4.  
  5. The puzzle object links a crossword matrix to a dictionary and a search.  The puzzle has various inspectable parameters that the user can set to control the type of search.
  6.  
  7. */
  8.  
  9. #import <objc/Object.h>
  10.  
  11. #import "Crossword.h"
  12. #import "Inspector.h"
  13. #import "Dictionary.h"
  14.  
  15.  
  16. /* ————————————————————————————————————————————————————————————————————————————  */
  17.  
  18.  
  19. #define MAXLENGTH        150
  20.  
  21.  
  22. /* ————————————————————————————————————————————————————————————————————————————  */
  23.  
  24.  
  25. @interface Puzzle:Object
  26. {
  27.     char            filename [MAXLENGTH];
  28.     id                window;
  29.     Crossword        * crossword;
  30.     Inspector        * inspector;
  31.     Dictionary        * dictionary;
  32.     id                search;
  33.     id                state;
  34.     BOOL            canContinue;
  35. }
  36.  
  37. - getCrossword;
  38. - getInspector;
  39. - getDictionary;
  40. - getState;
  41. - (BOOL) canContinue;
  42. - free;
  43. - newSearch: sender;
  44. - continue: sender;
  45. - step: sender;
  46.  
  47. @end